import Vue from 'vue'
import store from '@/store'


Vue.prototype.$url = (url) => {
  if(url && url.indexOf('http') === -1){
    url = store.state.mainUrl+url;
  }

  return url;
}
